import os
import subprocess
from django.core.management.base import BaseCommand


class Command(BaseCommand):
    help = 'same as npm run build'

    def handle(self, *args, **options):
        os.chdir('reactapp')
        subprocess.Popen('npm run build', shell=True)
